package com.qidian.mes.pro.mapper;

import com.qidian.mes.pojo.WorkTicket;
import com.qidian.mes.util.pojo.MESResult;

import java.util.List;

/**
 * @Author chenzheng
 * @Company 起点编程
 * @Time 2023/10/26 16:18
 * @Description
 */
public interface WorkTicketMapper {
    //注意WorkTicket中的id为workorderId
    WorkTicket selectById(Long workorderId);
    List<WorkTicket> list(WorkTicket workTicket);

    int save(WorkTicket workTicket);

    WorkTicket selectByWorkorderName(String workorderName);

    Integer update(WorkTicket workTicket);
    Integer delete(Long workorderId);
}
